package com.daniel.memo;


//CREATE TABLE Todo (todoId INTEGER PRIMARY KEY AUTOINCREMENT, memoId INTEGER, numOfTasks INTERGER);
public class Todo extends Memo {

	public static final String TODO_TABLE_NAME = "Todo";
	public static final String TODO_ID = "todoId";
	public static final String MEMO_ID = "memoId";
	public static final String NUM_OF_TASKS = "numOfTasks";
	
	private int todoId;
	private int memoId;
	private int numOfTasks;
	
	//default constructor
	public Todo(String title) {
		super(title, Memo.TODO_TYPE);
		this.numOfTasks = 0;
	}
	
	public Todo(int memoId, String title, int type, int todoId) {
		super(memoId, title, Memo.TODO_TYPE);
		this.numOfTasks = 0;
		this.todoId = todoId;
	}
	
	//constructor
	public Todo(String title, int type, int todoId, int memoId, int numOfTasks) {
		super(title, Memo.TODO_TYPE);
		this.todoId = todoId;
		this.memoId = memoId;
		this.numOfTasks = numOfTasks;
	}
	
	
	
	public int getTodoId() {
		return this.todoId;
	}
	
	
}
